
function s1_hello(){
echo "hello, world!"
}
function s2_tell_who_i_am(){
echo "$USER"
}
function which_distro_do_i_use(){
if [-x "$9command -v lsb_release)" ]; then
distro=$(lsb_release -ds)
echo "NAME=\"$distro\""
else
echo "lsb_release command not found"
fi
}
function view_my_cpu_arch() {
arch=$(uname -m)
echo "$arch"
}
function show_first_scsi_disk_size() {
lsblk -1| \grep disk |\grep '^sda ' |awk '{print $4/1024/1024/1024}'
}
function show_main_memory_size_in_megabytes() {
free -m |grep "Men:" | awk '{print $2}'
}

function s1_hello(){
  echo "hello,world!"
}

function s2_tell_who_i_am(){
   echo "Enter you name:"
   read user_name
   echo "user name is $uer_name"
}

function s3_which_distro_do_i_use(){
   NAME="Beta Linux"
   echo $NAME
}

function s4_view_my_cpu_arch(){
   uname -m
}

function s5_show_first_scsi_disk_size(){
   lsblk -l |\grep disk | \ grep'^sda' | awk'{print $4}'
}

function s6_show_main_memory_size_in_megabytes(){
   free -m |grep "Mem:"|awk'{print $2}'
}

